package com.crscd.jdbc.advanced.pojo;

/**
 * Created with IntelliJ IDEA.
 *
 * @description:
 * @author: liuziyang
 * @since: 10/20/25 10:32 AM
 * @modifiedBy:
 * @version: 1.0
 */
public class Employee {
  private Integer empId;
  private String empName;
  private Double empSalary;
  private Integer empAge;

  public Employee() {}

  public Employee(Integer empId, String empName, Double empSalary, Integer empAge) {
    this.empId = empId;
    this.empName = empName;
    this.empSalary = empSalary;
    this.empAge = empAge;
  }

  public Integer getEmpId() {
    return empId;
  }

  public void setEmpId(Integer empId) {
    this.empId = empId;
  }

  public String getEmpName() {
    return empName;
  }

  public void setEmpName(String empName) {
    this.empName = empName;
  }

  public Double getEmpSalary() {
    return empSalary;
  }

  public void setEmpSalary(Double empSalary) {
    this.empSalary = empSalary;
  }

  public Integer getEmpAge() {
    return empAge;
  }

  public void setEmpAge(Integer empAge) {
    this.empAge = empAge;
  }

  @Override
  public String toString() {
    return "Employee{"
        + "empId="
        + empId
        + ", empName='"
        + empName
        + '\''
        + ", empSalary="
        + empSalary
        + ", empAge="
        + empAge
        + '}';
  }
}
